package com.nowcoder.community.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author bombax
 * @date 2024-07-21 14:35
 * @TableName login_ticket
 */
@Data
public class LoginTicket implements Serializable {

    private int id;
    private int userId;
    private String ticket;
    /**
     * 0-有效; 1-无效;
     */
    private int status;
    private Date expired;

    @Serial
    private static final long serialVersionUID = 1L;
}